Chris Pollett > Old Classes >
CS174

( Print View )

Student Corner:
  [Grades Sec1]
  [Grades Sec2]
  [Grades Sec3]

  [Submit Sec1]
  [Submit Sec2]
  [Submit Sec3]

  [Class Sign Up Sec1]
  [Class Sign Up Sec2]
  [Class Sign Up Sec3]

  [
Lecture Notes]
  [Discussion Board]

Course Info:
  [Texts & Links]
  [Topics/Outcomes]
  [Outcomes Matrix]
  [Grading]
  [HW Info]
  [Exam Info]
  [Regrades]
  [Honesty]
  [Additional Policies]
  [Announcements]

HW Assignments:
  [Hw1]  [Hw2]  [Hw3]
  [Hw4]  [Hw5]

Practice Exams:
  [Mid1]  [Mid2]  [Final]

                           












HW#1 --- last modified February 28 2019 23:07:43..

Solution set.

Due date: Sep 12

Files to be submitted:
  HttpSessions.log
  Syllabus.zip

Purpose: To install Apache. To experiment with the HTTP protocol. To write our first XHTML 1.1 validating web page

Related Course Outcomes:

The main course outcome covered by the coding part of this assignment is (1) [Write HTML documents containing standard HTML elements including forms, tables, client-side scripts, and server-side scripts.]

Specification:

The first thing I want you to do for this homework is to install Apache on a laptop and configure it so PHP runs. Demoing this to me either at the start of class or before I give out grades for this homework is worth 1/2 a point.

For this homework I expect you to work in groups of two or three. Please do not share anything besides informal discussion between groups. You will submit two files for this homework: HttpSessions.log and Syllabus.zip. Syllabus.zip should have in it a file Syllabus.html and any images you need for this page to display properly.

To generate the file HttpSessions.log I first want each group member to do a Google search on their own names (a vanity search). In each case note down the URL of the results page. Next from the command line, I want you to telnet to www.google.com port 80 by hand and get the documents corresponding to each group members' results page. (If the group has fewer than 3 people choose names of people you would like to be, so that you get a total of three searches). I want you to store in HttpSessions.log the transcripts of the sessions where you do this. In addition, I want you to telnet into www.google.com and request a document which you know is not there and get a transcript of the error message.

In the Syllabus.html file that you submit for this homework, I want you to have an XHTML 1.1 validating web page for the Fall 2020 SJSU Web Design class. I would like you to imagine what new technologies will exist by then and write about them creatively in your description. Your page should have a reasonable <head> section with a title, as well as meta tags telling robots not to index your page or follow symlinks. A schedule of topics should be created using tables. Your Syllabus.html should constructively make use of images, links, <span> tags, and have a list on it. Please make your own images rather than use copyrighted ones, but have fun and be creative!

To validate your page use the site: http://validator.w3.org/

To make your page really great also test it against http://webxact.watchfire.com/

Point Breakdown

HttpSessions.log (1pt per GET transcript) 4pts
Demo of running Apache with PHP on your laptop 1/2pt
Page validates as XHTML 1.1 1/2pt
Page head has a title and meta tags as described above, tables are used to organise layout of page 1pt
Page constructively uses <img>, <link>, and <span> tags; page has a list on it. (1 point each) 4pts
Total10pts